package com.izhar.answeringmachine.Entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Question implements Serializable {

    /**
     * id
     */
    private String id;

    /**
     * 题目标题
     */
    private String title;

    /**
     * 题目介绍
     */
    private String des;

    /**
     * 输入规范
     */
    private String inputStandard;

    /**
     * 输出规范
     */
    private String outStandard;

    /**
     * 样例id
     */
    private String sampleId;

    /**
     * 时间限制
     */
    private int timeLimit;

    /**
     * 内存限制
     */
    private int memoryLimit;

    /**
     * 难度
     */
    private int difficulty;

    /**
     * 标签
     */
    private String tag;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;


    @Override
    public String toString() {
        return "Question{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", des='" + des + '\'' +
                ", inputStandard='" + inputStandard + '\'' +
                ", outStandard='" + outStandard + '\'' +
                ", sampleId='" + sampleId + '\'' +
                ", timeLimit=" + timeLimit +
                ", memoryLimit=" + memoryLimit +
                ", difficulty=" + difficulty +
                ", tag='" + tag + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}